import { axios } from '@/utils/request'

/**
 * 查询监播汇总
 *
 * @author fenmou
 * @date 2024-10-29 17:46:14
 */
export function monitoringGatherPage (parameter) {
  return axios({
    url: '/monitoringGather/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 监播汇总列表
 *
 * @author fenmou
 * @date 2024-10-29 17:46:14
 */
export function monitoringGatherList (parameter) {
  return axios({
    url: '/monitoringGather/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加监播汇总
 *
 * @author fenmou
 * @date 2024-10-29 17:46:14
 */
export function monitoringGatherAdd (parameter) {
  return axios({
    url: '/monitoringGather/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑监播汇总
 *
 * @author fenmou
 * @date 2024-10-29 17:46:14
 */
export function monitoringGatherEdit (parameter) {
  return axios({
    url: '/monitoringGather/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除监播汇总
 *
 * @author fenmou
 * @date 2024-10-29 17:46:14
 */
export function monitoringGatherDelete (parameter) {
  return axios({
    url: '/monitoringGather/delete',
    method: 'post',
    data: parameter
  })
}

export function getByDate (parameter) {
  return axios({
    url: '/monitoringGather/getByDate',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出监播汇总
 *
 * @author fenmou
 * @date 2024-10-29 17:46:14
 */
export function monitoringGatherExport (parameter) {
  return axios({
    url: '/monitoringGather/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}

export function monitoringGatherImport (parameter) {
  return axios({
    url: '/monitoringGather/importExcel',
    method: 'post',
    data: parameter
  })
}
